package pocker;

import static junit.framework.Assert.assertEquals;

/**
 * Created with IntelliJ IDEA.
 * User: gia
 * Date: 23.08.2012
 * Time: 15:03
 */
@SuppressWarnings("UnusedDeclaration")
public class GameSerializerMock implements GameSerializer {
    public String expectedStringToWrite;
    public boolean writeStringWasCalled = false;

    @Override
    public void writeString(String written) {
        assertEquals(expectedStringToWrite, written);
        writeStringWasCalled = true;
    }
}
